/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package job.manager.db.sb;

import java.util.Collection;
import javax.ejb.Remote;
import job.manager.db.ec.AddressEB;
import job.manager.db.ec.JobEB;
import job.manager.db.ec.ProfilesEB;

/**
 *
 * @author Administrator
 */
@Remote
public interface ProfileRemote {

    java.util.Collection<JobEB> getJobsByPid(Integer parameter);

    ProfilesEB getProfileInfo(Integer pk);

    Collection<ProfilesEB> getCustomers();

    java.util.Collection<job.manager.db.ec.ProfilesEB> getAllProfiles();

    int deleteProfile(ProfilesEB p);

    int updateProfile(ProfilesEB p);

    public java.util.Collection<job.manager.db.ec.AddressEB> getAddressByPid(java.lang.Integer pk);

    public job.manager.db.ec.AddressEB getAddressByPk(Integer pk);

    int updateAddress(AddressEB a);

    ProfilesEB insertProfile(ProfilesEB p);
    AddressEB insertAddress(AddressEB a);
    
}
